[INFO] fetching crate diman_unit_system 0.5.1...
[INFO] testing diman_unit_system-0.5.1 against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] extracting crate diman_unit_system 0.5.1 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate diman_unit_system 0.5.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate diman_unit_system 0.5.1
[INFO] tweaked toml for crates.io crate diman_unit_system 0.5.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate diman_unit_system 0.5.1 on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 31 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded diman_lib v0.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc
[INFO] running `Command { std: "docker" "start" "34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling diman_lib v0.5.1
[INFO] [stderr]    Compiling diman_unit_system v0.5.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parse/attributes.rs:138:21
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer> {
[INFO] [stdout]     |                     ^^^^^            ^^^^^^^^^^^^
[INFO] [stdout]     |                     |                ||
[INFO] [stdout]     |                     |                |the same lifetime is hidden here
[INFO] [stdout]     |                     |                the same lifetime is elided here
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer<'_>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.98s
[INFO] running `Command { std: "docker" "inspect" "34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling target-triple v1.0.0
[INFO] [stderr]    Compiling winnow v1.0.3
[INFO] [stderr]    Compiling toml_writer v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling toml_parser v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling diman_lib v0.5.1
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling serde_spanned v1.1.1
[INFO] [stderr]    Compiling toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]    Compiling toml v1.1.2+spec-1.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling diman_unit_system v0.5.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parse/attributes.rs:138:21
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer> {
[INFO] [stdout]     |                     ^^^^^            ^^^^^^^^^^^^
[INFO] [stdout]     |                     |                ||
[INFO] [stdout]     |                     |                |the same lifetime is hidden here
[INFO] [stdout]     |                     |                the same lifetime is elided here
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer<'_>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling trybuild v1.0.116
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/parse/attributes.rs:138:21
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer> {
[INFO] [stdout]     |                     ^^^^^            ^^^^^^^^^^^^
[INFO] [stdout]     |                     |                ||
[INFO] [stdout]     |                     |                |the same lifetime is hidden here
[INFO] [stdout]     |                     |                the same lifetime is elided here
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer<'_>> {
[INFO] [stdout]     |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 28.19s
[INFO] running `Command { std: "docker" "inspect" "34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] 
[INFO] [stderr]    --> src/parse/attributes.rs:138:21
[INFO] [stdout] running 7 tests
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer> {
[INFO] [stderr]     |                     ^^^^^            ^^^^^^^^^^^^
[INFO] [stderr]     |                     |                ||
[INFO] [stderr]     |                     |                |the same lifetime is hidden here
[INFO] [stderr]     |                     |                the same lifetime is elided here
[INFO] [stderr]     |                     the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer<'_>> {
[INFO] [stderr]     |                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `diman_unit_system` (lib) generated 1 warning (run `cargo fix --lib -p diman_unit_system` to apply 1 suggestion)
[INFO] [stderr] warning: `diman_unit_system` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/diman_unit_system-7512334ecb798181)
[INFO] [stdout] test parse::tests::parse_expr_with_multiple_factors ... ok
[INFO] [stdout] test parse::tests::parse_expr_exponent ... ok
[INFO] [stdout] test parse::tests::parse_exprs ... ok
[INFO] [stdout] test types::base_dimension::tests::str_to_snakecase ... ok
[INFO] [stdout] test parse::tests::parse_unit_entry ... ok
[INFO] [stdout] test types::expression::tests::mul_expr ... ok
[INFO] [stdout] test parse::tests::parse_expr_left_associativity ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-2c48e50a29362f81)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling diman_lib v0.5.1
[INFO] [stderr]    Compiling diman_unit_system v0.5.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> /opt/rustwide/workdir/src/parse/attributes.rs:138:21
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer> {
[INFO] [stderr]     |                     ^^^^^            ^^^^^^^^^^^^
[INFO] [stderr]     |                     |                ||
[INFO] [stderr]     |                     |                |the same lifetime is hidden here
[INFO] [stderr]     |                     |                the same lifetime is elided here
[INFO] [stderr]     |                     the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer<'_>> {
[INFO] [stderr]     |                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `diman_unit_system` (lib) generated 1 warning (run `cargo fix --lib -p diman_unit_system` to apply 1 suggestion)
[INFO] [stderr]     Checking diman_unit_system-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/diman_unit_system)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.48s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/dimension_annotation_violated_constant.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Dimension mismatch in expression.
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:13:26
[INFO] [stderr]    |
[INFO] [stderr] 13 |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr]    |                          ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: The annotation on the left-hand side has dimensions mass^1
[INFO] [stderr]    = help: but the expression on the right-hand side has dimensions mass^2
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Dimension mismatch in expression.
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:13:26
[INFO] [stderr]    |
[INFO] [stderr] 13 |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr]    |                          ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: The annotation on the left-hand side has dimensions mass^1
[INFO] [stderr]    = help: but the expression on the right-hand side has dimensions mass^2
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_constant.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     constant SOLAR_MASS: Mass = 1.988477e30 * kilograms * grams;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/dimension_annotation_violated_unit.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Dimension mismatch in expression.
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:13:15
[INFO] [stderr]    |
[INFO] [stderr] 13 |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: The annotation on the left-hand side has dimensions length^1 mass^0
[INFO] [stderr]    = help: but the expression on the right-hand side has dimensions length^0 mass^2
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Dimension mismatch in expression.
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:13:15
[INFO] [stderr]    |
[INFO] [stderr] 13 |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr]    |               ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: The annotation on the left-hand side has dimensions length^1 mass^0
[INFO] [stderr]    = help: but the expression on the right-hand side has dimensions length^0 mass^2
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0, length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_violated_unit.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 13 | |     unit foo: Length = kilograms * kilograms;
[INFO] [stderr] 14 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0, length: 0 }>, Dimension { mass: 0, length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Type error in annotation: Expected dimension, found unit 'kilograms'.
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:12:15
[INFO] [stderr]    |
[INFO] [stderr] 12 |     unit foo: kilograms = kilograms;
[INFO] [stderr]    |               ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: Annotations can only be done using dimensions.
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Type error in annotation: Expected dimension, found unit 'kilograms'.
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:12:15
[INFO] [stderr]    |
[INFO] [stderr] 12 |     unit foo: kilograms = kilograms;
[INFO] [stderr]    |               ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: Annotations can only be done using dimensions.
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/dimension_annotation_with_unit_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     unit foo: kilograms = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stdout] test tests::compile_fail_dimension_annotation ... FAILED
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> /opt/rustwide/workdir/src/parse/attributes.rs:138:21
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer> {
[INFO] [stderr]     |                     ^^^^^            ^^^^^^^^^^^^
[INFO] [stderr]     |                     |                ||
[INFO] [stderr]     |                     |                |the same lifetime is hidden here
[INFO] [stderr]     |                     |                the same lifetime is elided here
[INFO] [stderr]     |                     the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer<'_>> {
[INFO] [stderr]     |                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `diman_unit_system` (lib) generated 1 warning (run `cargo fix --lib -p diman_unit_system` to apply 1 suggestion)
[INFO] [stderr]     Checking diman_unit_system-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/diman_unit_system)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/float_unknown_method_on_quantity_type_alias.rs ... mismatch
[INFO] [stderr] 
[INFO] [stdout] test tests::compile_fail_float ... FAILED
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0599]: no function or associated item named `unknown_method` found for struct `Quantity` in the current scope
[INFO] [stderr]  --> tests/compile_fail/float_unknown_method_on_quantity_type_alias.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 |     Length::unknown_method(49.0);
[INFO] [stderr]   |             ^^^^^^^^^^^^^^ function or associated item not found in `Quantity<_, Dimension>`
[INFO] [stderr]   |
[INFO] [stderr]  ::: tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   |     quantity_type Quantity;
[INFO] [stderr]   |                   -------- function or associated item `unknown_method` not found for this struct
[INFO] [stderr]   |
[INFO] [stderr] note: if you're trying to build a new `Quantity<_, Dimension>`, consider using `Quantity::<S, D>::new_unchecked` which returns `Quantity<_, _>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | |_^
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated function or constant named `unknown_method` found for struct `Quantity<S, D>` in the current scope
[INFO] [stderr]  --> tests/compile_fail/float_unknown_method_on_quantity_type_alias.rs:7:13
[INFO] [stderr]   |
[INFO] [stderr] 7 |     Length::unknown_method(49.0);
[INFO] [stderr]   |             ^^^^^^^^^^^^^^ associated function or constant not found in `Quantity<_, Dimension>`
[INFO] [stderr]   |
[INFO] [stderr]  ::: tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   |     quantity_type Quantity;
[INFO] [stderr]   |                   -------- associated function or constant `unknown_method` not found for this struct
[INFO] [stderr]   |
[INFO] [stderr] note: if you're trying to build a new `Quantity<_, Dimension>`, consider using `Quantity::<S, D>::new_unchecked` which returns `Quantity<_, _>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | |_^
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> /opt/rustwide/workdir/src/parse/attributes.rs:138:21
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer> {
[INFO] [stderr]     |                     ^^^^^            ^^^^^^^^^^^^
[INFO] [stderr]     |                     |                ||
[INFO] [stderr]     |                     |                |the same lifetime is hidden here
[INFO] [stderr]     |                     |                the same lifetime is elided here
[INFO] [stderr]     |                     the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer<'_>> {
[INFO] [stderr]     |                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `diman_unit_system` (lib) generated 1 warning (run `cargo fix --lib -p diman_unit_system` to apply 1 suggestion)
[INFO] [stderr]     Checking diman_unit_system-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/diman_unit_system)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Constant SOLAR_MASS is defined in terms of the dimension Mass.
[INFO] [stderr]  --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:9:14
[INFO] [stderr]   |
[INFO] [stderr] 9 |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr]   |              ^^^^^^^^^^                       ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: Constants can only be defined in terms of other constants and units.
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Constant SOLAR_MASS is defined in terms of the dimension Mass.
[INFO] [stderr]  --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:9:14
[INFO] [stderr]   |
[INFO] [stderr] 9 |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr]   |              ^^^^^^^^^^                       ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: Constants can only be defined in terms of other constants and units.
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_constant_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     constant SOLAR_MASS: Mass = 1.988477e30 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Unit kilograms is defined in terms of the dimension Mass.
[INFO] [stderr]  --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:9:10
[INFO] [stderr]   |
[INFO] [stderr] 9 |     unit kilograms = 5.0 * Mass;
[INFO] [stderr]   |          ^^^^^^^^^         ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: Units can only be defined in terms of other units and constants.
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Unit kilograms is defined in terms of the dimension Mass.
[INFO] [stderr]  --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:9:10
[INFO] [stderr]   |
[INFO] [stderr] 9 |     unit kilograms = 5.0 * Mass;
[INFO] [stderr]   |          ^^^^^^^^^         ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: Units can only be defined in terms of other units and constants.
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_dimension_in_unit_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr]  9 | |     unit kilograms = 5.0 * Mass;
[INFO] [stderr] 10 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/resolver_duplicate_base_unit.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: 'parsec' is defined to be a base unit for dimension 'Length', but there already is a base unit for this dimension.
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:15:10
[INFO] [stderr]    |
[INFO] [stderr] 15 |     unit parsec: Length;
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: There can only be one base unit per base dimension.
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: 'parsec' is defined to be a base unit for dimension 'Length', but there already is a base unit for this dimension.
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:15:10
[INFO] [stderr]    |
[INFO] [stderr] 15 |     unit parsec: Length;
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: There can only be one base unit per base dimension.
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_base_unit.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit parsec: Length;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/resolver_duplicate_definition.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Identifier "foo" defined multiple times.
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 |     unit foo: Length = 10.0 * meters;
[INFO] [stderr]    |          ^^^
[INFO] [stderr] 14 |     unit foo: Length = 20.0 * meters;
[INFO] [stderr]    |          ^^^
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Identifier "foo" defined multiple times.
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 |     unit foo: Length = 10.0 * meters;
[INFO] [stderr]    |          ^^^
[INFO] [stderr] 14 |     unit foo: Length = 20.0 * meters;
[INFO] [stderr]    |          ^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_definition.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 14 | |     unit foo: Length = 20.0 * meters;
[INFO] [stderr] 15 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/resolver_duplicate_symbol.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Symbol 'mm' is used for multiple units.
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 |     unit meters: Length;
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr] 14 |     #[symbol(mm)]
[INFO] [stderr] 15 |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr]    |          ^^^^^^^
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Symbol 'mm' is used for multiple units.
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 |     unit meters: Length;
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr] 14 |     #[symbol(mm)]
[INFO] [stderr] 15 |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr]    |          ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_duplicate_symbol.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit my_unit: Length = meters * 10.0;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/resolver_partial_resolution.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Unresolvable definition "undefined".
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:15:10
[INFO] [stderr]    |
[INFO] [stderr] 15 |     unit undefined = undefined;
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: Remove recursive definitions.
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Unresolvable definition "undefined".
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:15:10
[INFO] [stderr]    |
[INFO] [stderr] 15 |     unit undefined = undefined;
[INFO] [stderr]    |          ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: Remove recursive definitions.
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_partial_resolution.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] ...  |
[INFO] [stderr] 15 | |     unit undefined = undefined;
[INFO] [stderr] 16 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Undefined identifier "undefined".
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:10:16
[INFO] [stderr]    |
[INFO] [stderr] 10 |     unit foo = undefined;
[INFO] [stderr]    |                ^^^^^^^^^
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Undefined identifier "undefined".
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:10:16
[INFO] [stderr]    |
[INFO] [stderr] 10 |     unit foo = undefined;
[INFO] [stderr]    |                ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension {  }>>` for type `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension {  }>>` for type `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension {  }>>` for type `&Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension {  }>>` for type `&Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension {  }>>` for type `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension {  }>>` for type `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension {  }>>` for type `&Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension {  }>>` for type `&Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension {  }>>` for type `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension {  }>>` for type `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension {  }>>` for type `&mut Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension {  }>>` for type `&mut Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension {  }>>` for type `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension {  }>>` for type `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension {  }>>` for type `&mut Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension {  }>>` for type `&mut Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_prefixed_or_aliased_units_dont_generate_multiple_errors.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     #[prefix(kilo)]
[INFO] [stderr] 10 | |     unit foo = undefined;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension {  }>, Dimension {  }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/resolver_undefined_identifier.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Undefined identifier "meters".
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:10:32
[INFO] [stderr]    |
[INFO] [stderr] 10 |     unit kilometers = 1000.0 * meters;
[INFO] [stderr]    |                                ^^^^^^
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Undefined identifier "meters".
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:10:32
[INFO] [stderr]    |
[INFO] [stderr] 10 |     unit kilometers = 1000.0 * meters;
[INFO] [stderr]    |                                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_undefined_identifier.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 11 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Dimension Mass2 is defined in terms of the unit kilograms.
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:12:15
[INFO] [stderr]    |
[INFO] [stderr] 12 |     dimension Mass2 = kilograms;
[INFO] [stderr]    |               ^^^^^   ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: Dimensions can only be defined in terms of other dimensions.
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Dimension Mass2 is defined in terms of the unit kilograms.
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:12:15
[INFO] [stderr]    |
[INFO] [stderr] 12 |     dimension Mass2 = kilograms;
[INFO] [stderr]    |               ^^^^^   ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: Dimensions can only be defined in terms of other dimensions.
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { mass: 0 }>>` for type `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { mass: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_units_in_dimension_expression_not_allowed.rs:5:1
[INFO] [stderr]    |
[INFO] [stderr]  5 | / unit_system_internal!(
[INFO] [stderr]  6 | |     quantity_type Quantity;
[INFO] [stderr]  7 | |     dimension_type Dimension;
[INFO] [stderr]  8 | |     dimension Mass;
[INFO] [stderr] ...  |
[INFO] [stderr] 12 | |     dimension Mass2 = kilograms;
[INFO] [stderr] 13 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { mass: 0 }>, Dimension { mass: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/resolver_unresolvable.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Unresolvable definition "meters".
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 |     unit meters = 0.001 * kilometers;
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: Remove recursive definitions.
[INFO] [stderr] 
[INFO] [stderr] error: Unresolvable definition "kilometers".
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 |     unit kilometers = 1000.0 * meters;
[INFO] [stderr]    |          ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: Remove recursive definitions.
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error: Unresolvable definition "meters".
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 |     unit meters = 0.001 * kilometers;
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: Remove recursive definitions.
[INFO] [stderr] 
[INFO] [stderr] error: Unresolvable definition "kilometers".
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:11:10
[INFO] [stderr]    |
[INFO] [stderr] 11 |     unit kilometers = 1000.0 * meters;
[INFO] [stderr]    |          ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: Remove recursive definitions.
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]   --> tests/compile_fail/resolver_unresolvable.rs:6:1
[INFO] [stderr]    |
[INFO] [stderr]  6 | / unit_system_internal!(
[INFO] [stderr]  7 | |     quantity_type Quantity;
[INFO] [stderr]  8 | |     dimension_type Dimension;
[INFO] [stderr]  9 | |     dimension Length;
[INFO] [stderr] 10 | |     unit meters = 0.001 * kilometers;
[INFO] [stderr] 11 | |     unit kilometers = 1000.0 * meters;
[INFO] [stderr] 12 | | );
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_first implementation here
[INFO] [stderr]    |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0 }>, Dimension { length: 0 }>`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stdout] test tests::compile_fail_resolver ... FAILED
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> /opt/rustwide/workdir/src/parse/attributes.rs:138:21
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer> {
[INFO] [stderr]     |                     ^^^^^            ^^^^^^^^^^^^
[INFO] [stderr]     |                     |                ||
[INFO] [stderr]     |                     |                |the same lifetime is hidden here
[INFO] [stderr]     |                     |                the same lifetime is elided here
[INFO] [stderr]     |                     the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer<'_>> {
[INFO] [stderr]     |                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `diman_unit_system` (lib) generated 1 warning (run `cargo fix --lib -p diman_unit_system` to apply 1 suggestion)
[INFO] [stderr]     Checking diman_unit_system-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/diman_unit_system)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stdout] test tests::compile_fail_dimension_def_numeric_factor ... ok
[INFO] [stderr] test tests/compile_fail/dimension_definition_with_numeric_factor.rs ... ok
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> /opt/rustwide/workdir/src/parse/attributes.rs:138:21
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer> {
[INFO] [stderr]     |                     ^^^^^            ^^^^^^^^^^^^
[INFO] [stderr]     |                     |                ||
[INFO] [stderr]     |                     |                |the same lifetime is hidden here
[INFO] [stderr]     |                     |                the same lifetime is elided here
[INFO] [stderr]     |                     the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 138 |     fn inner_or_err(&self) -> Result<&ParseBuffer<'_>> {
[INFO] [stderr]     |                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `diman_unit_system` (lib) generated 1 warning (run `cargo fix --lib -p diman_unit_system` to apply 1 suggestion)
[INFO] [stderr]     Checking diman_unit_system-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/diman_unit_system)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/type_mismatch_add_type_quantity.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0271]: type mismatch resolving `<f64 as Add<Quantity<f64, Dimension>>>::Output == ()`
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_add_type_quantity.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = 1.0 + dimensionless.new(1.0);
[INFO] [stderr]   |                     ^ expected `Quantity<f64, Dimension>`, found `()`
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected struct `Quantity<f64, Dimension>`
[INFO] [stderr]           found unit type `()`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0271]: type mismatch resolving `<f64 as Add<Quantity<f64, Dimension>>>::Output == ()`
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_add_type_quantity.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = 1.0 + dimensionless.new(1.0);
[INFO] [stderr]   |                     ^ type mismatch resolving `<f64 as Add<Quantity<f64, Dimension>>>::Output == ()`
[INFO] [stderr]   |
[INFO] [stderr] note: expected this to be `()`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | |_^
[INFO] [stderr]   = note: expected unit type `()`
[INFO] [stderr]                 found struct `Quantity<f64, Dimension>`
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/type_mismatch_dimension.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_dimension.rs:8:24
[INFO] [stderr]   |
[INFO] [stderr] 8 |     let x: Time<f64> = meters.new(1.0);
[INFO] [stderr]   |                        ^^^^^^^^^^^^^^^ expected `Dimension { length: 0, time: 1, mass: 0, temperature: 0 }`, found `Dimension { length: 1, time: 0, mass: 0, temperature: 0 }`
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected constant `Dimension { length: 0, time: 1, mass: 0, temperature: 0 }`
[INFO] [stderr]              found constant `Dimension { length: 1, time: 0, mass: 0, temperature: 0 }`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_dimension.rs:8:24
[INFO] [stderr]   |
[INFO] [stderr] 8 |     let x: Time<f64> = meters.new(1.0);
[INFO] [stderr]   |                        ^^^^^^^^^^^^^^^ expected `Dimension { length: 0, time: 1, mass: 0, temperature: 0 }`, found `Dimension { length: 1, time: 0, mass: 0, temperature: 0 }`
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected constant `Dimension { length: 0, time: 1, mass: 0, temperature: 0 }`
[INFO] [stderr]              found constant `Dimension { length: 1, time: 0, mass: 0, temperature: 0 }`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/type_mismatch_div_quantity.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_div_quantity.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = meters.new(1.0f64) / meters.new(1.0f64);
[INFO] [stderr]   |            --   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Quantity<f64, Dimension>`
[INFO] [stderr]   |            |
[INFO] [stderr]   |            expected due to this
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected unit type `()`
[INFO] [stderr]                 found struct `Quantity<f64, Dimension>`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_div_quantity.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = meters.new(1.0f64) / meters.new(1.0f64);
[INFO] [stderr]   |            --   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Quantity<f64, Dimension>`
[INFO] [stderr]   |            |
[INFO] [stderr]   |            expected due to this
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected unit type `()`
[INFO] [stderr]                 found struct `Quantity<f64, Dimension>`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/type_mismatch_div_quantity_type.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0271]: type mismatch resolving `<f64 as Div<Quantity<f64, Dimension>>>::Output == ()`
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_div_quantity_type.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = 1.0 / dimensionless.new(1.0);
[INFO] [stderr]   |                     ^ expected `Quantity<f64, Dimension>`, found `()`
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected struct `Quantity<f64, Dimension>`
[INFO] [stderr]           found unit type `()`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0271]: type mismatch resolving `<f64 as Div<Quantity<f64, Dimension>>>::Output == ()`
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_div_quantity_type.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = 1.0 / dimensionless.new(1.0);
[INFO] [stderr]   |                     ^ type mismatch resolving `<f64 as Div<Quantity<f64, Dimension>>>::Output == ()`
[INFO] [stderr]   |
[INFO] [stderr] note: expected this to be `()`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | |_^
[INFO] [stderr]   = note: expected unit type `()`
[INFO] [stderr]                 found struct `Quantity<f64, Dimension>`
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/type_mismatch_div_type_quantity.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0271]: type mismatch resolving `<Quantity<f64, Dimension> as Div<f64>>::Output == ()`
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_div_type_quantity.rs:7:40
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = dimensionless.new(1.0) / 1.0;
[INFO] [stderr]   |                                        ^ expected `Quantity<f64, Dimension>`, found `()`
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected struct `Quantity<f64, Dimension>`
[INFO] [stderr]           found unit type `()`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0271]: type mismatch resolving `<Quantity<f64, Dimension> as Div<f64>>::Output == ()`
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_div_type_quantity.rs:7:40
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = dimensionless.new(1.0) / 1.0;
[INFO] [stderr]   |                                        ^ type mismatch resolving `<Quantity<f64, Dimension> as Div<f64>>::Output == ()`
[INFO] [stderr]   |
[INFO] [stderr] note: expected this to be `()`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | |_^
[INFO] [stderr]   = note: expected unit type `()`
[INFO] [stderr]                 found struct `Quantity<f64, Dimension>`
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/type_mismatch_function_call.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_function_call.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = meters.new(1.0f64).abs();
[INFO] [stderr]   |            --   ^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Quantity<f64, Dimension>`
[INFO] [stderr]   |            |
[INFO] [stderr]   |            expected due to this
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected unit type `()`
[INFO] [stderr]                 found struct `Quantity<f64, Dimension>`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stdout] test tests::compile_fail_type_mismatch ... FAILED
[INFO] [stderr]   | | ^
[INFO] [stdout] 
[INFO] [stderr]   | | |
[INFO] [stdout] failures:
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout] 
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout] ---- tests::compile_fail_dimension_annotation stdout ----
[INFO] [stderr]   |
[INFO] [stdout] 
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] thread 'tests::compile_fail_dimension_annotation' (807) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13:
[INFO] [stderr] 
[INFO] [stdout] 3 of 3 tests failed
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout] stack backtrace:
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]    0:     0x5927ec5f5bb8 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]    1:     0x5927ec5f5bb8 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]    2:     0x5927ec5f5bb8 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr] ... |
[INFO] [stdout]    3:     0x5927ec5f5bb8 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]   | | );
[INFO] [stdout]    4:     0x5927ec60c0ea - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stderr]   | | ^
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr]   | | |
[INFO] [stdout]    5:     0x5927ec60c0ea - core[28b146924c2f19c6]::fmt::write
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]    6:     0x5927ec5fabd2 - std[929523f510218772]::io::default_write_fmt::<alloc[95e62e727ddf147d]::vec::Vec<u8>>
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stderr]   |
[INFO] [stdout]    7:     0x5927ec5fabd2 - <alloc[95e62e727ddf147d]::vec::Vec<u8> as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stderr] 
[INFO] [stdout]    8:     0x5927ec5d1be6 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]    9:     0x5927ec5d1be6 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]   10:     0x5927ec5ed139 - std[929523f510218772]::panicking::default_hook
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:316:9
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]   11:     0x5927ec58611c - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stderr] ... |
[INFO] [stdout]   12:     0x5927ec58611c - test[6ec0502068880816]::test_main_inner::<test[6ec0502068880816]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:155:21
[INFO] [stderr]   | | );
[INFO] [stdout]   13:     0x5927ec5ed2f2 - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stderr]   | | ^
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stderr]   | | |
[INFO] [stdout]   14:     0x5927ec5ed2f2 - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:833:13
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   15:     0x5927ec5d1ca2 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:698:13
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]   16:     0x5927ec5c6ba9 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   17:     0x5927ec5d29bd - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stderr]   |
[INFO] [stdout]   18:     0x5927ec60c87c - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]   19:     0x5927ec420d34 - <trybuild[6c9f8eaa88980772]::Runner>::run
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]   20:     0x5927ec42dbd8 - <trybuild[6c9f8eaa88980772]::TestCases as core[28b146924c2f19c6]::ops::drop::Drop>::drop
[INFO] [stderr] ... |
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/lib.rs:342:38
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]   21:     0x5927ec343177 - core[28b146924c2f19c6]::ptr::drop_glue::<trybuild[6c9f8eaa88980772]::TestCases>
[INFO] [stderr]   | | );
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ptr/mod.rs:825:1
[INFO] [stderr]   | | ^
[INFO] [stdout]   22:     0x5927ec343783 - mod[7bbd64f783f5d1b0]::tests::compile_fail_dimension_annotation
[INFO] [stderr]   | | |
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/mod.rs:47:5
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]   23:     0x5927ec3433a7 - mod[7bbd64f783f5d1b0]::tests::compile_fail_dimension_annotation::{closure#0}
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/mod.rs:44:43
[INFO] [stderr]   |
[INFO] [stdout]   24:     0x5927ec343b96 - <mod[7bbd64f783f5d1b0]::tests::compile_fail_dimension_annotation::{closure#0} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr] 
[INFO] [stdout]   25:     0x5927ec5791fb - <fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]   26:     0x5927ec5791fb - test[6ec0502068880816]::__rust_begin_short_backtrace::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:724:18
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]   27:     0x5927ec586a75 - test[6ec0502068880816]::run_test_in_process::{closure#0}
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:74
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]   28:     0x5927ec586a75 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr] ... |
[INFO] [stdout]   29:     0x5927ec586a75 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stderr]   | | );
[INFO] [stdout]   30:     0x5927ec586a75 - std[929523f510218772]::panicking::catch_unwind::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>>
[INFO] [stderr]   | | ^
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stderr]   | | |
[INFO] [stdout]   31:     0x5927ec586a75 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   32:     0x5927ec586a75 - test[6ec0502068880816]::run_test_in_process
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:27
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]   33:     0x5927ec586a75 - test[6ec0502068880816]::run_test::{closure#0}
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:668:43
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   34:     0x5927ec5815d4 - test[6ec0502068880816]::run_test::{closure#1}
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:698:41
[INFO] [stderr]   |
[INFO] [stdout]   35:     0x5927ec5815d4 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<test[6ec0502068880816]::run_test::{closure#1}, ()>
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:166:18
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]   36:     0x5927ec589af2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]   37:     0x5927ec589af2 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] ... |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]   38:     0x5927ec589af2 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr]   | | );
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stderr]   | | ^
[INFO] [stdout]   39:     0x5927ec589af2 - std[929523f510218772]::panicking::catch_unwind::<(), core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stderr]   | | |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]   40:     0x5927ec589af2 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stderr]   |
[INFO] [stdout]   41:     0x5927ec589af2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stderr] 
[INFO] [stdout]   42:     0x5927ec589af2 - <std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]   43:     0x5927ec5f4f5f - <alloc[95e62e727ddf147d]::boxed::Box<dyn core[28b146924c2f19c6]::ops::function::FnOnce<(), Output = ()> + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2277:9
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]   44:     0x5927ec5f4f5f - <std[929523f510218772]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]   45:     0x70031438faa4 - <unknown>
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]   46:     0x70031441ca64 - clone
[INFO] [stderr] ... |
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout] 
[INFO] [stderr]   | | );
[INFO] [stdout] ---- tests::compile_fail_float stdout ----
[INFO] [stderr]   | | ^
[INFO] [stdout] 
[INFO] [stderr]   | | |
[INFO] [stdout] thread 'tests::compile_fail_float' (809) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13:
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout] 1 of 1 tests failed
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout] stack backtrace:
[INFO] [stderr]   |
[INFO] [stdout]    0:     0x5927ec5f5bb8 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr] 
[INFO] [stdout]    1:     0x5927ec5f5bb8 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]    2:     0x5927ec5f5bb8 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]    3:     0x5927ec5f5bb8 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]    4:     0x5927ec60c0ea - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr] ... |
[INFO] [stdout]    5:     0x5927ec60c0ea - core[28b146924c2f19c6]::fmt::write
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]    6:     0x5927ec5fabd2 - std[929523f510218772]::io::default_write_fmt::<alloc[95e62e727ddf147d]::vec::Vec<u8>>
[INFO] [stderr]   | | );
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stderr]   | | ^
[INFO] [stdout]    7:     0x5927ec5fabd2 - <alloc[95e62e727ddf147d]::vec::Vec<u8> as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stderr]   | | |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]    8:     0x5927ec5d1be6 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]   |
[INFO] [stdout]    9:     0x5927ec5d1be6 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stderr] 
[INFO] [stdout]   10:     0x5927ec5ed139 - std[929523f510218772]::panicking::default_hook
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:316:9
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]   11:     0x5927ec58611c - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]   12:     0x5927ec58611c - test[6ec0502068880816]::test_main_inner::<test[6ec0502068880816]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:155:21
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]   13:     0x5927ec5ed2f2 - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stderr] ... |
[INFO] [stdout]   14:     0x5927ec5ed2f2 - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:833:13
[INFO] [stderr]   | | );
[INFO] [stdout]   15:     0x5927ec5d1ca2 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stderr]   | | ^
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:698:13
[INFO] [stderr]   | | |
[INFO] [stdout]   16:     0x5927ec5c6ba9 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   17:     0x5927ec5d29bd - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]   18:     0x5927ec60c87c - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stdout]   19:     0x5927ec420d34 - <trybuild[6c9f8eaa88980772]::Runner>::run
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_function_call.rs:7:17
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13
[INFO] [stderr]   |
[INFO] [stdout]   20:     0x5927ec42dbd8 - <trybuild[6c9f8eaa88980772]::TestCases as core[28b146924c2f19c6]::ops::drop::Drop>::drop
[INFO] [stderr] 7 |     let x: () = meters.new(1.0f64).abs();
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/lib.rs:342:38
[INFO] [stderr]   |            --   ^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Quantity<f64, Dimension>`
[INFO] [stdout]   21:     0x5927ec343177 - core[28b146924c2f19c6]::ptr::drop_glue::<trybuild[6c9f8eaa88980772]::TestCases>
[INFO] [stderr]   |            |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ptr/mod.rs:825:1
[INFO] [stderr]   |            expected due to this
[INFO] [stdout]   22:     0x5927ec343633 - mod[7bbd64f783f5d1b0]::tests::compile_fail_float
[INFO] [stderr]   |
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/mod.rs:20:5
[INFO] [stderr]   = note: expected unit type `()`
[INFO] [stdout]   23:     0x5927ec343317 - mod[7bbd64f783f5d1b0]::tests::compile_fail_float::{closure#0}
[INFO] [stderr]                 found struct `Quantity<f64, Dimension>`
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/mod.rs:17:28
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]   24:     0x5927ec343ad6 - <mod[7bbd64f783f5d1b0]::tests::compile_fail_float::{closure#0} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stdout]   25:     0x5927ec5791fb - <fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr] test tests/compile_fail/type_mismatch_mul_quantity.rs ... mismatch
[INFO] [stdout]   26:     0x5927ec5791fb - test[6ec0502068880816]::__rust_begin_short_backtrace::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:724:18
[INFO] [stderr] EXPECTED:
[INFO] [stdout]   27:     0x5927ec586a75 - test[6ec0502068880816]::run_test_in_process::{closure#0}
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:74
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stdout]   28:     0x5927ec586a75 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_mul_quantity.rs:7:17
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr]   |
[INFO] [stdout]   29:     0x5927ec586a75 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr] 7 |     let x: () = meters.new(1.0) * meters.new(1.0);
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stderr]   |            --   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Quantity<_, Dimension>`
[INFO] [stdout]   30:     0x5927ec586a75 - std[929523f510218772]::panicking::catch_unwind::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>>
[INFO] [stderr]   |            |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stderr]   |            expected due to this
[INFO] [stdout]   31:     0x5927ec586a75 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stderr]   = note: expected unit type `()`
[INFO] [stdout]   32:     0x5927ec586a75 - test[6ec0502068880816]::run_test_in_process
[INFO] [stderr]                 found struct `Quantity<_, Dimension>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:27
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]   33:     0x5927ec586a75 - test[6ec0502068880816]::run_test::{closure#0}
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:668:43
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stdout]   34:     0x5927ec5815d4 - test[6ec0502068880816]::run_test::{closure#1}
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:698:41
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   35:     0x5927ec5815d4 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<test[6ec0502068880816]::run_test::{closure#1}, ()>
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:166:18
[INFO] [stderr]   |
[INFO] [stdout]   36:     0x5927ec589af2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]   37:     0x5927ec589af2 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]   38:     0x5927ec589af2 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr] ... |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]   39:     0x5927ec589af2 - std[929523f510218772]::panicking::catch_unwind::<(), core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stderr]   | | );
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stderr]   | | ^
[INFO] [stdout]   40:     0x5927ec589af2 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr]   | | |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]   41:     0x5927ec589af2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stderr]   |
[INFO] [stdout]   42:     0x5927ec589af2 - <std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr] 
[INFO] [stdout]   43:     0x5927ec5f4f5f - <alloc[95e62e727ddf147d]::boxed::Box<dyn core[28b146924c2f19c6]::ops::function::FnOnce<(), Output = ()> + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2277:9
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]   44:     0x5927ec5f4f5f - <std[929523f510218772]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]   45:     0x70031438faa4 - <unknown>
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]   46:     0x70031441ca64 - clone
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout] 
[INFO] [stderr] ... |
[INFO] [stdout] ---- tests::compile_fail_resolver stdout ----
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout] 
[INFO] [stderr]   | | );
[INFO] [stdout] thread 'tests::compile_fail_resolver' (812) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13:
[INFO] [stderr]   | | ^
[INFO] [stdout] 10 of 10 tests failed
[INFO] [stderr]   | | |
[INFO] [stdout] stack backtrace:
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]    0:     0x5927ec5f5bb8 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr]   |
[INFO] [stdout]    1:     0x5927ec5f5bb8 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr] 
[INFO] [stdout]    2:     0x5927ec5f5bb8 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]    3:     0x5927ec5f5bb8 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]    4:     0x5927ec60c0ea - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]    5:     0x5927ec60c0ea - core[28b146924c2f19c6]::fmt::write
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]    6:     0x5927ec5fabd2 - std[929523f510218772]::io::default_write_fmt::<alloc[95e62e727ddf147d]::vec::Vec<u8>>
[INFO] [stderr] ... |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]    7:     0x5927ec5fabd2 - <alloc[95e62e727ddf147d]::vec::Vec<u8> as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stderr]   | | );
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stderr]   | | ^
[INFO] [stdout]    8:     0x5927ec5d1be6 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stderr]   | | |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]    9:     0x5927ec5d1be6 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stderr]   |
[INFO] [stdout]   10:     0x5927ec5ed139 - std[929523f510218772]::panicking::default_hook
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:316:9
[INFO] [stderr] 
[INFO] [stdout]   11:     0x5927ec58611c - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]   12:     0x5927ec58611c - test[6ec0502068880816]::test_main_inner::<test[6ec0502068880816]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:155:21
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]   13:     0x5927ec5ed2f2 - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]   14:     0x5927ec5ed2f2 - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:833:13
[INFO] [stderr] ... |
[INFO] [stdout]   15:     0x5927ec5d1ca2 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:698:13
[INFO] [stderr]   | | );
[INFO] [stdout]   16:     0x5927ec5c6ba9 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]   | | ^
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr]   | | |
[INFO] [stdout]   17:     0x5927ec5d29bd - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   18:     0x5927ec60c87c - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]   19:     0x5927ec420d34 - <trybuild[6c9f8eaa88980772]::Runner>::run
[INFO] [stderr] 
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   20:     0x5927ec42dbd8 - <trybuild[6c9f8eaa88980772]::TestCases as core[28b146924c2f19c6]::ops::drop::Drop>::drop
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/lib.rs:342:38
[INFO] [stderr]   |
[INFO] [stdout]   21:     0x5927ec343177 - core[28b146924c2f19c6]::ptr::drop_glue::<trybuild[6c9f8eaa88980772]::TestCases>
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ptr/mod.rs:825:1
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]   22:     0x5927ec3436a3 - mod[7bbd64f783f5d1b0]::tests::compile_fail_resolver
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/mod.rs:27:5
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]   23:     0x5927ec343347 - mod[7bbd64f783f5d1b0]::tests::compile_fail_resolver::{closure#0}
[INFO] [stderr] ... |
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/mod.rs:24:31
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]   24:     0x5927ec343b16 - <mod[7bbd64f783f5d1b0]::tests::compile_fail_resolver::{closure#0} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   | | );
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr]   | | ^
[INFO] [stdout]   25:     0x5927ec5791fb - <fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   | | |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]   26:     0x5927ec5791fb - test[6ec0502068880816]::__rust_begin_short_backtrace::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:724:18
[INFO] [stderr]   |
[INFO] [stdout]   27:     0x5927ec586a75 - test[6ec0502068880816]::run_test_in_process::{closure#0}
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:74
[INFO] [stderr] 
[INFO] [stdout]   28:     0x5927ec586a75 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]   29:     0x5927ec586a75 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]   30:     0x5927ec586a75 - std[929523f510218772]::panicking::catch_unwind::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>>
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]   31:     0x5927ec586a75 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stderr] ... |
[INFO] [stdout]   32:     0x5927ec586a75 - test[6ec0502068880816]::run_test_in_process
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:27
[INFO] [stderr]   | | );
[INFO] [stdout]   33:     0x5927ec586a75 - test[6ec0502068880816]::run_test::{closure#0}
[INFO] [stderr]   | | ^
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:668:43
[INFO] [stderr]   | | |
[INFO] [stdout]   34:     0x5927ec5815d4 - test[6ec0502068880816]::run_test::{closure#1}
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:698:41
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   35:     0x5927ec5815d4 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<test[6ec0502068880816]::run_test::{closure#1}, ()>
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:166:18
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]   36:     0x5927ec589af2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   37:     0x5927ec589af2 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr]   |
[INFO] [stdout]   38:     0x5927ec589af2 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]   39:     0x5927ec589af2 - std[929523f510218772]::panicking::catch_unwind::<(), core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]   40:     0x5927ec589af2 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr] ... |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]   41:     0x5927ec589af2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stderr]   | | );
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stderr]   | | ^
[INFO] [stdout]   42:     0x5927ec589af2 - <std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]   | | |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]   43:     0x5927ec5f4f5f - <alloc[95e62e727ddf147d]::boxed::Box<dyn core[28b146924c2f19c6]::ops::function::FnOnce<(), Output = ()> + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2277:9
[INFO] [stderr]   |
[INFO] [stdout]   44:     0x5927ec5f4f5f - <std[929523f510218772]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stderr] 
[INFO] [stdout]   45:     0x70031438faa4 - <unknown>
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   46:     0x70031441ca64 - clone
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stderr]   |
[INFO] [stdout] 
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout] ---- tests::compile_fail_type_mismatch stdout ----
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout] 
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout] thread 'tests::compile_fail_type_mismatch' (815) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13:
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout] 9 of 9 tests failed
[INFO] [stderr] ... |
[INFO] [stdout] stack backtrace:
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]    0:     0x5927ec5f5bb8 - std[929523f510218772]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stderr]   | | );
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr]   | | ^
[INFO] [stdout]    1:     0x5927ec5f5bb8 - std[929523f510218772]::backtrace_rs::backtrace::trace_unsynchronized::<std[929523f510218772]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stderr]   | | |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]    2:     0x5927ec5f5bb8 - std[929523f510218772]::sys::backtrace::_print_fmt
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr]   |
[INFO] [stdout]    3:     0x5927ec5f5bb8 - <<std[929523f510218772]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[28b146924c2f19c6]::fmt::Display>::fmt
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr] 
[INFO] [stdout]    4:     0x5927ec60c0ea - <core[28b146924c2f19c6]::fmt::rt::Argument>::fmt
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]    5:     0x5927ec60c0ea - core[28b146924c2f19c6]::fmt::write
[INFO] [stderr]   |
[INFO] [stdout]    6:     0x5927ec5fabd2 - std[929523f510218772]::io::default_write_fmt::<alloc[95e62e727ddf147d]::vec::Vec<u8>>
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:622:11
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]    7:     0x5927ec5fabd2 - <alloc[95e62e727ddf147d]::vec::Vec<u8> as std[929523f510218772]::io::Write>::write_fmt
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/io/mod.rs:1977:13
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]    8:     0x5927ec5d1be6 - <std[929523f510218772]::sys::backtrace::BacktraceLock>::print
[INFO] [stderr] ... |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]    9:     0x5927ec5d1be6 - std[929523f510218772]::panicking::default_hook::{closure#0}
[INFO] [stderr]   | | );
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:292:27
[INFO] [stderr]   | | ^
[INFO] [stdout]   10:     0x5927ec5ed139 - std[929523f510218772]::panicking::default_hook
[INFO] [stderr]   | | |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:316:9
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]   11:     0x5927ec58611c - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stderr]   |
[INFO] [stdout]   12:     0x5927ec58611c - test[6ec0502068880816]::test_main_inner::<test[6ec0502068880816]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:155:21
[INFO] [stderr] 
[INFO] [stdout]   13:     0x5927ec5ed2f2 - <alloc[95e62e727ddf147d]::boxed::Box<dyn for<'a, 'b> core[28b146924c2f19c6]::ops::function::Fn<(&'a std[929523f510218772]::panic::PanicHookInfo<'b>,), Output = ()> + core[28b146924c2f19c6]::marker::Sync + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::Fn<(&std[929523f510218772]::panic::PanicHookInfo,)>>::call
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2291:9
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]   14:     0x5927ec5ed2f2 - std[929523f510218772]::panicking::panic_with_hook
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:833:13
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]   15:     0x5927ec5d1ca2 - std[929523f510218772]::panicking::panic_handler::{closure#0}
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:698:13
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]   16:     0x5927ec5c6ba9 - std[929523f510218772]::sys::backtrace::__rust_end_short_backtrace::<std[929523f510218772]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr] ... |
[INFO] [stdout]   17:     0x5927ec5d29bd - __rustc[acf6043c977865fb]::rust_begin_unwind
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:689:5
[INFO] [stderr]   | | );
[INFO] [stdout]   18:     0x5927ec60c87c - core[28b146924c2f19c6]::panicking::panic_fmt
[INFO] [stderr]   | | ^
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panicking.rs:80:14
[INFO] [stderr]   | | |
[INFO] [stdout]   19:     0x5927ec420d34 - <trybuild[6c9f8eaa88980772]::Runner>::run
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/run.rs:102:13
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   20:     0x5927ec42dbd8 - <trybuild[6c9f8eaa88980772]::TestCases as core[28b146924c2f19c6]::ops::drop::Drop>::drop
[INFO] [stderr]   |
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.116/src/lib.rs:342:38
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]   21:     0x5927ec343177 - core[28b146924c2f19c6]::ptr::drop_glue::<trybuild[6c9f8eaa88980772]::TestCases>
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ptr/mod.rs:825:1
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   22:     0x5927ec343713 - mod[7bbd64f783f5d1b0]::tests::compile_fail_type_mismatch
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/mod.rs:35:5
[INFO] [stderr]   |
[INFO] [stdout]   23:     0x5927ec343377 - mod[7bbd64f783f5d1b0]::tests::compile_fail_type_mismatch::{closure#0}
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/mod.rs:32:36
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]   24:     0x5927ec343b56 - <mod[7bbd64f783f5d1b0]::tests::compile_fail_type_mismatch::{closure#0} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]   25:     0x5927ec5791fb - <fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr] ... |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]   26:     0x5927ec5791fb - test[6ec0502068880816]::__rust_begin_short_backtrace::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, fn() -> core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr]   | | );
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:724:18
[INFO] [stderr]   | | ^
[INFO] [stdout]   27:     0x5927ec586a75 - test[6ec0502068880816]::run_test_in_process::{closure#0}
[INFO] [stderr]   | | |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:74
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]   28:     0x5927ec586a75 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr]   |
[INFO] [stdout]   29:     0x5927ec586a75 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stderr] 
[INFO] [stdout]   30:     0x5927ec586a75 - std[929523f510218772]::panicking::catch_unwind::<core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>, core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>>
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]   31:     0x5927ec586a75 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<test[6ec0502068880816]::run_test_in_process::{closure#0}>, core[28b146924c2f19c6]::result::Result<(), alloc[95e62e727ddf147d]::string::String>>
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]   32:     0x5927ec586a75 - test[6ec0502068880816]::run_test_in_process
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:747:27
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]   33:     0x5927ec586a75 - test[6ec0502068880816]::run_test::{closure#0}
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:668:43
[INFO] [stderr] ... |
[INFO] [stdout]   34:     0x5927ec5815d4 - test[6ec0502068880816]::run_test::{closure#1}
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/test/src/lib.rs:698:41
[INFO] [stderr]   | | );
[INFO] [stdout]   35:     0x5927ec5815d4 - std[929523f510218772]::sys::backtrace::__rust_begin_short_backtrace::<test[6ec0502068880816]::run_test::{closure#1}, ()>
[INFO] [stderr]   | | ^
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/backtrace.rs:166:18
[INFO] [stderr]   | | |
[INFO] [stdout]   36:     0x5927ec589af2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   37:     0x5927ec589af2 - <core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]   38:     0x5927ec589af2 - std[929523f510218772]::panicking::catch_unwind::do_call::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr] 
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:581:40
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   39:     0x5927ec589af2 - std[929523f510218772]::panicking::catch_unwind::<(), core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panicking.rs:544:19
[INFO] [stderr]   |
[INFO] [stdout]   40:     0x5927ec589af2 - std[929523f510218772]::panic::catch_unwind::<core[28b146924c2f19c6]::panic::unwind_safe::AssertUnwindSafe<std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/panic.rs:359:14
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]   41:     0x5927ec589af2 - std[929523f510218772]::thread::lifecycle::spawn_unchecked::<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout]   42:     0x5927ec589af2 - <std[929523f510218772]::thread::lifecycle::spawn_unchecked<test[6ec0502068880816]::run_test::{closure#1}, ()>::{closure#1} as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr] ... |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/core/src/ops/function.rs:250:5
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stdout]   43:     0x5927ec5f4f5f - <alloc[95e62e727ddf147d]::boxed::Box<dyn core[28b146924c2f19c6]::ops::function::FnOnce<(), Output = ()> + core[28b146924c2f19c6]::marker::Send> as core[28b146924c2f19c6]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]   | | );
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/alloc/src/boxed.rs:2277:9
[INFO] [stderr]   | | ^
[INFO] [stdout]   44:     0x5927ec5f4f5f - <std[929523f510218772]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr]   | | |
[INFO] [stdout]                                at /rustc/cced03bfd61a304243a34504618ecec86c17063f/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stderr]   | |_first implementation here
[INFO] [stdout]   45:     0x70031438faa4 - <unknown>
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout]   46:     0x70031441ca64 - clone
[INFO] [stderr]   |
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stdout] failures:
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stdout]     tests::compile_fail_dimension_annotation
[INFO] [stderr]   |
[INFO] [stdout]     tests::compile_fail_float
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stdout]     tests::compile_fail_resolver
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stdout]     tests::compile_fail_type_mismatch
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stdout] 
[INFO] [stderr]   | |     dimension Length;
[INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 29.81s
[INFO] [stderr] ... |
[INFO] [stdout] 
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_mul_quantity.rs:7:17
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = meters.new(1.0) * meters.new(1.0);
[INFO] [stderr]   |            --   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Quantity<_, Dimension>`
[INFO] [stderr]   |            |
[INFO] [stderr]   |            expected due to this
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected unit type `()`
[INFO] [stderr]                 found struct `Quantity<_, Dimension>`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/type_mismatch_mul_quantity_type.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0271]: type mismatch resolving `<f64 as Mul<Quantity<f64, Dimension>>>::Output == ()`
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_mul_quantity_type.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = 1.0 * dimensionless.new(1.0);
[INFO] [stderr]   |                     ^ expected `Quantity<f64, Dimension>`, found `()`
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected struct `Quantity<f64, Dimension>`
[INFO] [stderr]           found unit type `()`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0271]: type mismatch resolving `<f64 as Mul<Quantity<f64, Dimension>>>::Output == ()`
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_mul_quantity_type.rs:7:21
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = 1.0 * dimensionless.new(1.0);
[INFO] [stderr]   |                     ^ type mismatch resolving `<f64 as Mul<Quantity<f64, Dimension>>>::Output == ()`
[INFO] [stderr]   |
[INFO] [stderr] note: expected this to be `()`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | |_^
[INFO] [stderr]   = note: expected unit type `()`
[INFO] [stderr]                 found struct `Quantity<f64, Dimension>`
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] test tests/compile_fail/type_mismatch_mul_type_quantity.rs ... mismatch
[INFO] [stderr] 
[INFO] [stderr] EXPECTED:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0271]: type mismatch resolving `<Quantity<f64, Dimension> as Mul<f64>>::Output == ()`
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_mul_type_quantity.rs:7:40
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = dimensionless.new(1.0) * 1.0;
[INFO] [stderr]   |                                        ^ expected `Quantity<f64, Dimension>`, found `()`
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected struct `Quantity<f64, Dimension>`
[INFO] [stderr]           found unit type `()`
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] 
[INFO] [stderr] ACTUAL OUTPUT:
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Add<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `Sub<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `AddAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0119]: conflicting implementations of trait `SubAssign<&Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>>` for type `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_first implementation here
[INFO] [stderr]   |   conflicting implementation for `&mut Quantity<Quantity<_, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>, Dimension { length: 0, time: 0, mass: 0, temperature: 0 }>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0271]: type mismatch resolving `<Quantity<f64, Dimension> as Mul<f64>>::Output == ()`
[INFO] [stderr]  --> tests/compile_fail/type_mismatch_mul_type_quantity.rs:7:40
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let x: () = dimensionless.new(1.0) * 1.0;
[INFO] [stderr]   |                                        ^ type mismatch resolving `<Quantity<f64, Dimension> as Mul<f64>>::Output == ()`
[INFO] [stderr]   |
[INFO] [stderr] note: expected this to be `()`
[INFO] [stderr]  --> tests/compile_fail/example_system/mod.rs
[INFO] [stderr]   |
[INFO] [stderr]   | / unit_system_internal!(
[INFO] [stderr]   | |     quantity_type Quantity;
[INFO] [stderr]   | |     dimension_type Dimension;
[INFO] [stderr]   | |     dimension Length;
[INFO] [stderr] ... |
[INFO] [stderr]   | |     constant SOLAR_MASS_AWKWARD = 1.988477e30 * kilograms / (seconds / seconds);
[INFO] [stderr]   | | );
[INFO] [stderr]   | |_^
[INFO] [stderr]   = note: expected unit type `()`
[INFO] [stderr]                 found struct `Quantity<f64, Dimension>`
[INFO] [stderr]   = note: this error originates in the macro `unit_system_internal` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈
[INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning
[INFO] [stderr]       your test with the environment variable TRYBUILD=overwrite
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] error: test failed, to rerun pass `--test mod`
[INFO] running `Command { std: "docker" "inspect" "34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc", kill_on_drop: false }`
[INFO] [stdout] 34e250bc4190bbb989f3d56293fb052700758c9b3699699a7f38004cfba013cc
